﻿namespace SharePointConsoleApplication2
{
    using System;
    using System.Linq;

    using com.stifel;
    using com.stifel.Extensions.SharePointExtensions;
    using com.stifel.SharePoint;
    using com.stifel.UserTestDao;

    using Microsoft.SharePoint;

    class Program
    {
        #region Methods

        static void Main( string[ ] args )
        {
            AddressDao dao = new AddressDao( "http://win-pv542842fga:24276" );
            var v = dao.Get( 1 );
            USAddress.InternalObject address = v.Address;
            address.City = "ANY CITY";
            v.Address = address;
            dao.Add( v );
        }

        #endregion Methods
    }
}